package com.xtianzhuang.www.dao;

import com.xtianzhuang.www.entity.TdStory;
import com.xtianzhuang.www.entity.TdStoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TdStoryMapper {
    long countByExample(TdStoryExample example);

    int deleteByExample(TdStoryExample example);

    int deleteByPrimaryKey(Integer storyId);

    int insert(TdStory record);

    int insertSelective(TdStory record);

    List<TdStory> selectByExampleWithBLOBs(TdStoryExample example);

    List<TdStory> selectByExample(TdStoryExample example);

    TdStory selectByPrimaryKey(Integer storyId);

    int updateByExampleSelective(@Param("record") TdStory record, @Param("example") TdStoryExample example);

    int updateByExampleWithBLOBs(@Param("record") TdStory record, @Param("example") TdStoryExample example);

    int updateByExample(@Param("record") TdStory record, @Param("example") TdStoryExample example);

    int updateByPrimaryKeySelective(TdStory record);

    int updateByPrimaryKeyWithBLOBs(TdStory record);

    int updateByPrimaryKey(TdStory record);
}